<%@ page contentType="text/html; charset=UTF-8"%>
<%@include file="/html/portlet/chart/admin/init.jsp"%>


<portlet:defineObjects />
<portlet:renderURL var="addChartoptionURL">
			<portlet:param name="mvcPath" value="/html/portlet/chart/admin/edit_chartoption.jsp" />
			<portlet:param name="redirect" value="<%= currentURL %>" />
</portlet:renderURL>
<liferay-portlet:renderURL var="manageTemplateUrl" plid="<%=themeDisplay.getPlid() %>" portletName="chart-template_WAR_echartsportlet" windowState="pop_up">
 </liferay-portlet:renderURL>
<liferay-portlet:renderURL var="manageDataSourceUrl" plid="<%=themeDisplay.getPlid() %>" portletName="data-source-cfg_WAR_echartsportlet" windowState="pop_up">
</liferay-portlet:renderURL>
<liferay-portlet:renderURL varImpl="searchURL">
        <portlet:param name="mvcPath" value="/html/portlet/chart/admin/view.jsp" />
</liferay-portlet:renderURL>
<aui:nav-bar>
	<aui:nav>
		<aui:nav-item href="<%= addChartoptionURL.toString() %>" iconCssClass="icon-plus" label="chart.option.add"  />
		<aui:nav-item href="<%=manageTemplateUrl.toString() %>" iconCssClass="icon-cog" label="chart.manage.template" useDialog="true" />
		<aui:nav-item  href="<%=manageDataSourceUrl.toString() %>" iconCssClass="icon-cogs" label="chart.manage.datasource" useDialog="true" />
	</aui:nav>
	<aui:nav-bar-search cssClass="pull-right">
		<div class="form-search">
			<aui:form action="<%= searchURL %>" method="get" name="fmsearch">
			    <liferay-portlet:renderURLParams varImpl="searchURL" />
			
			    <div class="search-form">
			        <span class="aui-search-bar">
			        	<liferay-ui:input-search id="keywords1" name="keywords" placeholder='<%= LanguageUtil.get(locale, "keywords") %>' />
			        </span>
			    </div>
			</aui:form>
		</div>
	</aui:nav-bar-search>
</aui:nav-bar>
